package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.CustomTemplateExample.E_COMPANY_ID;
import static org.jsola.hr.example.CustomTemplateExample.E_EDIT_BY;
import static org.jsola.hr.example.CustomTemplateExample.E_IS_DEFAULT;
import static org.jsola.hr.example.CustomTemplateExample.E_IS_ISSUE;
import static org.jsola.hr.example.CustomTemplateExample.E_IS_OPEN;
import static org.jsola.hr.example.CustomTemplateExample.E_MODULE_CODE;
import static org.jsola.hr.example.CustomTemplateExample.E_MODULE_NAME;
import static org.jsola.hr.example.CustomTemplateExample.E_NAME;
import static org.jsola.hr.example.CustomTemplateExample.E_SOURCE_ID;
import static org.jsola.hr.example.CustomTemplateExample.E_TYPE;
import static org.jsola.hr.example.CustomTemplateExample.N_COMPANY_ID;
import static org.jsola.hr.example.CustomTemplateExample.N_EDIT_BY;
import static org.jsola.hr.example.CustomTemplateExample.N_IS_DEFAULT;
import static org.jsola.hr.example.CustomTemplateExample.N_IS_ISSUE;
import static org.jsola.hr.example.CustomTemplateExample.N_IS_OPEN;
import static org.jsola.hr.example.CustomTemplateExample.N_MODULE_CODE;
import static org.jsola.hr.example.CustomTemplateExample.N_MODULE_NAME;
import static org.jsola.hr.example.CustomTemplateExample.N_NAME;
import static org.jsola.hr.example.CustomTemplateExample.N_SOURCE_ID;
import static org.jsola.hr.example.CustomTemplateExample.N_TYPE;

/**
 * 自定义模板
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【自定义模板】列表展示对象")
@Data
public class CustomTemplateListVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_IS_DEFAULT, example = E_IS_DEFAULT)
    private Boolean isDefault;

    @ApiModelProperty(notes = N_IS_OPEN, example = E_IS_OPEN)
    private Boolean isOpen;

    @ApiModelProperty(notes = N_IS_ISSUE, example = E_IS_ISSUE)
    private Boolean isIssue;

    @ApiModelProperty(notes = N_SOURCE_ID, example = E_SOURCE_ID)
    private String sourceId;

    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    private String name;

    @ApiModelProperty(notes = N_MODULE_NAME, example = E_MODULE_NAME)
    private String moduleName;

    @ApiModelProperty(notes = N_MODULE_CODE, example = E_MODULE_CODE)
    private String moduleCode;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_EDIT_BY, example = E_EDIT_BY)
    private String editBy;

    @ApiModelProperty(notes = N_TYPE, example = E_TYPE)
    private Integer type;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

